package com.resolution.dietaryassessment;

import android.app.Application;
import android.os.Build;
import android.util.Log;

import io.reactivex.plugins.RxJavaPlugins;

/**
 * @author By Resolusion
 * @Title:
 * @Date: 2020/4/17
 * @Time: 14:11
 * @email Res01ution@foxmail.com
 */
public class MyApplication extends Application {
    @Override
    public void onCreate() {
        super.onCreate();
        RxJavaPlugins.setErrorHandler(throwable -> {
            //异常处理
            Log.d("onRxJavaErrorHandler",throwable+"");
        });
    }


}
